Patches, Planes And Probabilities: A Non-Local Prior For Volumetric 3D Reconstruction